package com.hr.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author LuoQiu
 * @since 2024-09-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("salary")
@ApiModel(value="Salary对象")
public class Salary implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "员工手机号")
    private String mobile;

    @ApiModelProperty(value = "员工名字")
    private String userName;

    @ApiModelProperty(value = "员工工号")
    private String workNumber;

    @ApiModelProperty(value = "员工头像地址")
    private String staffPhoto;

    @ApiModelProperty(value = "员工入职日期")
    private LocalDateTime timeOfEntry;

    @ApiModelProperty(value = "员工转正日期")
    private LocalDateTime correctionTime;

    @ApiModelProperty(value = "员工部门名字")
    private String departmentName;

    @ApiModelProperty(value = "员工部门id")
    private Integer departmentId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
